package com.project.nimsen.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 反利信息
 * @author Administrator
 *
 */
@Entity
@Table(name = "T_PROFIT")
public class TprofitEntity implements Serializable {
	private static final long serialVersionUID = 1L;
    private String ID;
    private String P_USER_ID;//反给谁
    private String S_USER_ID;//从谁来的
    private Integer GRADE;//第几级
    private Integer MONEYS;//多少钱
    private Integer BACK_INFO;//0表示用户还没有审核通过不给反钱，1没有反钱，2反过钱
    private String USER_ID_S;//审核人，也就是生成这条数据的人
    private String D_USER_ID;//出纳打款的人
    private Date CREATE_TIME;//创建时间
    private Date D_TIME;//打款时间
    @Id
	@Column(name = "ID", unique = true, nullable = false)
	public String getID() {
		return ID;
	}
	public void setID(String iD) {
		ID = iD;
	}
	@Column(name = "P_USER_ID")
	public String getP_USER_ID() {
		return P_USER_ID;
	}
	public void setP_USER_ID(String p_USER_ID) {
		P_USER_ID = p_USER_ID;
	}
	@Column(name = "S_USER_ID")
	public String getS_USER_ID() {
		return S_USER_ID;
	}
	public void setS_USER_ID(String s_USER_ID) {
		S_USER_ID = s_USER_ID;
	}
	@Column(name = "GRADE")
	public Integer getGRADE() {
		return GRADE;
	}
	public void setGRADE(Integer gRADE) {
		GRADE = gRADE;
	}
	@Column(name = "MONEYS")
	public Integer getMONEYS() {
		return MONEYS;
	}
	public void setMONEYS(Integer mONEYS) {
		MONEYS = mONEYS;
	}
	@Column(name = "BACK_INFO")
	public Integer getBACK_INFO() {
		return BACK_INFO;
	}
	public void setBACK_INFO(Integer bACK_INFO) {
		BACK_INFO = bACK_INFO;
	}
	@Column(name = "USER_ID_S")
	public String getUSER_ID_S() {
		return USER_ID_S;
	}
	public void setUSER_ID_S(String uSER_ID_S) {
		USER_ID_S = uSER_ID_S;
	}
	@Column(name = "D_USER_ID")
	public String getD_USER_ID() {
		return D_USER_ID;
	}
	public void setD_USER_ID(String d_USER_ID) {
		D_USER_ID = d_USER_ID;
	}
	@Column(name = "CREATE_TIME")
	public Date getCREATE_TIME() {
		return CREATE_TIME;
	}
	public void setCREATE_TIME(Date cREATE_TIME) {
		CREATE_TIME = cREATE_TIME;
	}
	@Column(name = "D_TIME")
	public Date getD_TIME() {
		return D_TIME;
	}
	public void setD_TIME(Date d_TIME) {
		D_TIME = d_TIME;
	}
}
